import { ModuleWithProviders } from "@angular/core"
import { Routes, RouterModule } from '@angular/router';

export const routes: Routes = [{
		path: 'accident',
		loadChildren: 'app/+data-statistics/+accident/accident.module#AccidentModule'
	}, {
		path: 'area',
		loadChildren: 'app/+data-statistics/+area/area.module#AreaModule',
	}, {
		path: 'carrying-number',
		loadChildren: 'app/+data-statistics/+carrying-number/carrying-number.module#CarryingNumberModule',
	}, {
		path: 'countDatabank',
		loadChildren: 'app/+data-statistics/+countDatabank/countDatabank.module#CountDatabankModule',
	}, {
		path: 'car-statistics',
		loadChildren: 'app/+data-statistics/+car-statistics/car-statistics.module#CarStatisticsModule',
	}, {
		path: 'data-map',
		loadChildren: 'app/+data-statistics/+data-map/data-map.module#DataMapModule',
	}, {
		path: 'delivery-point',
		loadChildren: 'app/+data-statistics/+delivery-point/delivery-point.module#DeliveryPointModule'
	},{
		path: 'flowCount',
		loadChildren: 'app/+data-statistics/+flowCount/flowCount.module#FlowCountModule',
	}, {
		path: 'garbage-sites',
		loadChildren: 'app/+data-statistics/+garbage-sites/garbage-sites.module#GarbageSitesModule',
	}, {
		path: 'transport-process',
		loadChildren: 'app/+data-statistics/+transport-process/transport-process.module#TransportProcessModule',
	}, {
		path: 'transport-algorithm',
		loadChildren: 'app/+data-statistics/+transport-algorithm/transport-algorithm.module#TransportAlgorithmModule',
	}, {
		path: 'optimize-yt',
		loadChildren: 'app/+data-statistics/+optimize-yt/optimize-yt.module#optimizeYtModule',
	}, {
		path: 'weight-error-rate',
		loadChildren: 'app/+data-statistics/+weight-error-rate/weight-error-rate.module#WeightErrorRateModule',
	}, {
		path: 'weightCount-yt',
		loadChildren: 'app/+data-statistics/+weightCount-yt/weightCount-yt.module#WeightCountYtModule',
	}, {
		path: 'transport-yj',
		loadChildren: './+transport-yj/transport-yj.module#TransportYJModule',
	}, {
		path: 'rail',
		loadChildren: './+rail/rail.module#RailModule',
	}, {
		path: 'car-panel-history',
		loadChildren: './+car-panel-history/car-panel-history.module#CarPanelHistoryModule',
	}, {
		path: 'task',
		loadChildren: './+task/task.module#TaskModule',
	}, {
		path: 'stopCars',
		loadChildren: './+stopCars/stopCars.module#StopCarsModule',
	}, {
		path: 'stopCars/stopCars-page',
		loadChildren: './+stopCars-page/stopCars-page.module#StopCarsPageModule',
	}, {
		path: 'api',
		loadChildren: './+api/api.module#ApiModule',
	}, {
		path: 'sisaiData',
		loadChildren: './+sisaiData/sisaiData.module#SisaiDataModule',
	},	{
		path: 'stopMark',
		loadChildren: './+stopMark/stopMark.module#StopMarkModule',
	},	{
		path: 'transport-total',
		loadChildren: 'app/+data-statistics/+transport-total/transport-total.module#TransportTotalModule',
	},	{
		path: 'hz-statistics',
		loadChildren: 'app/+data-statistics/+hz-statistics/hz-statistics.module#HZStatisticsModule',
	},
];

export const routing = RouterModule.forChild(routes);